
namespace FirstTea.Domain.Entities
{
    public class Review : EntityBase
    {
    public Guid UserId { get; set; }
    public User? User { get; set; } // User navigation property
    public Guid TeaId { get; set; }
    public Tea? Tea { get; set; } // Tea navigation property
    public int Rating { get; set; } // 评分
    public string? Comment { get; set; } // 评论内容
    public Review()
    {
        CreatedAt = DateTime.UtcNow;
        UpdatedAt = DateTime.UtcNow;
    }
    }
}
